<?php

include APPPATH.'controllers/gnc_mng.php';

class Srs extends Gnc_mng {

	function index()
	{
		$unit_by_groups = array(
			
			"Pengelolaan Inpatient" => array(
				"srs/ip_kunjungan"=> "Kunjungan Inpatient",
				"srs/ip_rekmedik_catatan" => "Rekam Medik Inpatient",
				"srs/ip_bill_layanan"=> "Billing Inpatient",
				"srs/ip_bill_panjar"=> "Panjar",
				"srs/ip_rekmedik_catatan4tandavital" => "Rekam Medik 4 Tanda Vital"
				
			),
			
			"Pengelolaan Outpatient" => array(
				"srs/op_kunjungan"=> "Kunjungan Outpatient",
				"srs/op_rekmedik_catatan" => "Rekam Medik Outpatient",
				"srs/op_bill_layanan"=> "Billing Outpatient",
				"srs/op_rekmedik_catatan4tandavital" => "Rekam Medik 4 Tanda Vital"
			),
			
			"Pengelolaan Pasien IGD" => array(
				"srs/igd_kunjungan"=> "Kunjungan Pasien IGD",
				"srs/igd_rekmedik_catatan" => "Rekam Medik Pasien IGD",
				"srs/igd_bill_layanan"=> "Billing Pasien IGD",
				"srs/igd_rekmedik_catatan4tandavital" => "Rekam Medik 4 Tanda Vital"
			),
								
																
			"Pengelolaan Data Induk dan Kode Elemen Rekam Medik" => array(
				"srs/xx_rekmedik_datainduk" => "Data Induk Rekam Medik",
				"srs/xx_rekmedik_kode" => "Kode Rekam Medik"
			),
			
			"Pengelolaan Pegawai" => array (
				"srs/xx_dokter"=> "Dokter",
				"srs/xx_suster"=> "Suster",
				"srs/xx_pegawainonmedis" => "Pegawai Non-medis"
			),
			
			"Pengelolaan Layanan dan Lokasi" => array (
				"srs/xx_bill_layanan"=> "Layanan",
				"srs/xx_lokasi"=> "Lokasi (Poliklinik/Laboratorium/Zaal)"
				
			),
						
			"Pengelolaan SIRS" => array (
				"srs/issue" => "Issue"
			),
			
		);
		$data = array(
			'application' => $prefix,
			'application_title' => $this->common->get_application_description($prefix),
			'page' => 'Main',
			'navigation' => $this->load->view('sdm/nav/general', '', TRUE),
			'content' => $this->load->view('sdm/viewer/main', array('unit_by_groups' => $unit_by_groups), true),
		);	// data yang akan dipassing ke view
		$this->load->view('layout/default', $data);	
	}
}
